package com.yilin.tms.data.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yilin.tms.core.application.PageData;
import com.yilin.tms.core.entity.data.contracted.ContractBody;
import com.yilin.tms.core.entity.user.account.Account;
import com.yilin.tms.core.entity.user.organize.Organize;


public interface IContractService extends IService<ContractBody> {


    PageData<ContractBody> getContractPage(Account loginUser, ContractBody query, Integer start, Integer limit);

    ContractBody saveOrGetTransitPromise(String transitOrderId);

    void signTransitPromise(Account loginUser, String transitOrderId, Organize organize);


}
